package com.inepex.inechart.shared.data;

public class ValueDataEntry<N extends Number> extends KeyValueDataEntry<Integer, N>{

	public ValueDataEntry() {
		super();
	}

	public ValueDataEntry(N value) {
		super(null, value);
	}

	@Override
	public double[] getValuePair() {
		return new double[]{getIndex(), value.doubleValue()};
	}
	@Override
	public Integer getKey() {
		return getIndex();
	}


}
